package com.hay.oss.local;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author LiMouRen
 * @date 2023/7/26
 */
@Data
@ConfigurationProperties("local-oss")
public class LocalOssProperties {

    private Boolean enable = true;

    /**
     * 存储空间(文件存储地址)
     */
    private String bucketName = "/upload";

    /**
     * 文件前缀
     */
    private String proxyPrefix = "http://127.0.0.1:8070/file/down/";

}
